package com.example.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties("es")
@Data
public class ESProperties {
    /**
     * 地址
     */
    private String host;
    /**
     * 端口
     */
    private Integer port;
    private String schema;
}
